-- ${comments!} 菜单初始SQL
-- 替换掉 id0 -id5
INSERT INTO sys_menu(id, tenant_id, name, type, pid, is_frame, path, component, permissions, icon, sort, remark, status, del_flag, create_by, create_time, update_by, update_time, revision) VALUES (id0, NULL, '${comments!}', 1, 0, 0, '${moduleName}/${pathName}', '${moduleName}/${pathName}/index', NULL, 'documentation', 5, NULL, 0, 0, NULL, now(), NULL, now(), NULL);

INSERT INTO sys_menu(id, tenant_id, name, type, pid, is_frame, path, component, permissions, icon, sort, remark, status, del_flag, create_by, create_time, update_by, update_time, revision) VALUES (id1, NULL, '查询列表', 2, id0, 0, NULL, NULL, '${moduleName}:${pathName}:list', NULL, 1, NULL, 0, 0, NULL, now(), NULL, now(), NULL);
INSERT INTO sys_menu(id, tenant_id, name, type, pid, is_frame, path, component, permissions, icon, sort, remark, status, del_flag, create_by, create_time, update_by, update_time, revision) VALUES (id2, NULL, '查询详情', 2, id0, 0, NULL, NULL, '${moduleName}:${pathName}:detail', NULL, 2, NULL, 0, 0, NULL, now(), NULL, now(), NULL);
INSERT INTO sys_menu(id, tenant_id, name, type, pid, is_frame, path, component, permissions, icon, sort, remark, status, del_flag, create_by, create_time, update_by, update_time, revision) VALUES (id3, NULL, '新增', 2, id0, 0, NULL, NULL, '${moduleName}:${pathName}:save', NULL, 3, NULL, 0, 0, NULL, now(), NULL, now(), NULL);
INSERT INTO sys_menu(id, tenant_id, name, type, pid, is_frame, path, component, permissions, icon, sort, remark, status, del_flag, create_by, create_time, update_by, update_time, revision) VALUES (id4, NULL, '修改', 2, id0, 0, NULL, NULL, '${moduleName}:${pathName}:update', NULL, 4, NULL, 0, 0, NULL, now(), NULL, now(), NULL);
INSERT INTO sys_menu(id, tenant_id, name, type, pid, is_frame, path, component, permissions, icon, sort, remark, status, del_flag, create_by, create_time, update_by, update_time, revision) VALUES (id5, NULL, '删除', 2, id0, 0, NULL, NULL, '${moduleName}:${pathName}:delete', NULL, 5, NULL, 0, 0, NULL, now(), NULL, now(), NULL);
